#include <stdio.h>
#include <pthread.h>

int pthread_create(pthread_t *, const pthread_attr_t* , void* (*)(void*), void*) __attribute__ ((weakref));

int main()
{
    if(pthread_create)
    {
        printf("This is multi-thread version\n");
    }else
    {
        printf("This is single-thread version\n");
    }
}
